package com.hoshiibuy.cms.common.dataobject.search;

import com.hoshiibuy.cms.common.dataobject.config.CategoryFieldConfigDO;
import com.hoshiibuy.cms.common.enums.BooleanEnum;
import com.hoshiibuy.cms.common.enums.CategoryTypeEnum;
import com.hoshiibuy.cms.common.enums.StatusEnum;
import com.hoshiibuy.common.dataobject.SearchListDO;

import lombok.Data;

/**
 * 分类请求模型
 */
@Data
public class CategorySearchDO extends SearchListDO {
    private String title;  //标题模糊查询
    private CategoryTypeEnum type;  //分类类型
    private StatusEnum status;
    private BooleanEnum inMenu;
    private long pid = 0l;


    private CategoryFieldConfigDO config = new CategoryFieldConfigDO();


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public CategoryTypeEnum getType() {
		return type;
	}


	public void setType(CategoryTypeEnum type) {
		this.type = type;
	}


	public StatusEnum getStatus() {
		return status;
	}


	public void setStatus(StatusEnum status) {
		this.status = status;
	}


	public BooleanEnum getInMenu() {
		return inMenu;
	}


	public void setInMenu(BooleanEnum inMenu) {
		this.inMenu = inMenu;
	}


	public long getPid() {
		return pid;
	}


	public void setPid(long pid) {
		this.pid = pid;
	}


	public CategoryFieldConfigDO getConfig() {
		return config;
	}


	public void setConfig(CategoryFieldConfigDO config) {
		this.config = config;
	}

}
